﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsFormsApplication3
{
    class missile
    {
        private int speed;

        public int Speed
        {
            get { return speed; }
            set { speed = value; }
        }

        private int altitude;

        public int Altitude
        {
            get { return altitude; }
            set { altitude = value; }
        }
   
        //Constructor method
        public missile(int spd, int alt)
        {
            speed = spd;
            altitude = alt;
        }

    }
}
